﻿@model AplicacionBase.Models.aspnet_Roles

@{
    ViewBag.Title = "Eliminar Rol";
}

<div class="grid">

    <div class="c12">

           
        <h2>Eliminar Rol</h2>

<h3>Esta seguro que desea eliminar este Rol?</h3>

        <div class="alert success">
            @TempData["Success"]
        </div>

        <p>
            @Html.ActionLink("Crear Nuevo Rol", "Create","", htmlAttributes: new { @class = "ebutton blue" })
        </p>

    </div>

    <div class="c12">

       <div class="c9 first" id=”contenido”>

<fieldset>
    <legend>Rol</legend>

   
    <div class="display-field">
        @Html.HiddenFor(model => model.aspnet_Applications.ApplicationName)
    </div>

  
    <div class="display-field">
        @Html.HiddenFor(model => model.RoleId)
    </div>

    <div class="display-label">Nombre del Rol</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.RoleName)
    </div>


    <div class="display-label">Descripciòn</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Description)
    </div>
    <div class="display-label"></div>
    <div class="display-label"></div>
    <div class="display-label"></div>

    @using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Eliminar" class = "ebutton blue"/> 
        @Html.ActionLink("Regresar al Listado", "Index", "", htmlAttributes: new { @class = "ebutton blue" })
    </p>
}

</fieldset>
</div>
    	<div class="c3 last" id=”layout”>@Html.Partial("_LayoutSeguridad")</div>
	</div>
	&nbsp;
</div>